package org.zjt.platform.demo.config.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "sentinel.redis")
@Data
public class RedisSentinelProperties {

    private Boolean enable ;

    private Integer mxIdle;

    private Integer maxWaitMillis;

    private Boolean testOnBorrow;

    private Integer maxTotal;

    private String masterNode;

    private List<RedisProperties> sentinels ;



}
